<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>CSS的文本属性-text-decoration</title>
    <style>
        .none{
            text-decoration: none;
        }
        .overline{
            text-decoration: overline;
        }
        .line-through{
            text-decoration: line-through;
        }
        .underline{
            text-decoration: underline;
        }
    </style>
</head>
<body>
    <p class="none">没有修饰</p>
    <p class="overline">上划线</p>
    <p class="line-through">删除线</p>
    <p class="underline">下划线</p>
</body>
</html>